<template>
    <div>
        <input :type="text" @input="iptChange" :value="value" :placeholder="placeholder">
    </div>
</template>

<script>
export default {
    name: '',
    props: {
        value: String,
        placeholder: String,
        text: String
    },
    data() { 
        return {

        }
    },
    created() {

    },
    methods:{
        iptChange(e) {
            // this.value = e.target.value
            this.$emit('input', e.target.value)
        }
    },
}
</script>

<style scoped>
</style>